local L0_1, L1_1, L2_1, L3_1, L4_1, L5_1, L6_1, L7_1, L8_1, L9_1, L10_1, L11_1, L12_1, L13_1, L14_1, L15_1, L16_1, L17_1, L18_1, L19_1, L20_1, L21_1, L22_1, L23_1, L24_1, L25_1, L26_1, L27_1, L28_1, L29_1, L30_1, L31_1, L32_1, L33_1, L34_1, L35_1, L36_1, L37_1, L38_1, L39_1, L40_1, L41_1, L42_1, L43_1, L44_1, L45_1, L46_1, L47_1, L48_1, L49_1, L50_1, L51_1, L52_1, L53_1, L54_1, L55_1, L56_1, L57_1, L58_1, L59_1, L60_1, L61_1, L62_1
L0_1 = {}
L0_1.group_id = 247003003
L1_1 = 3001
L2_1 = 3006
L3_1 = 27001
L4_1 = 247003003
L5_1 = 247003001
L6_1 = 3007
L7_1 = 4002206
L8_1 = 3008
L9_1 = 3016
L10_1 = 3002
L11_1 = 3003
L12_1 = 4002204
L13_1 = 3004
L14_1 = {}
L15_1 = 5
L16_1 = 9
L14_1[1] = L15_1
L14_1[2] = L16_1
L15_1 = {}
L16_1 = 3014
L17_1 = 3015
L18_1 = 3018
L19_1 = 3019
L20_1 = 3020
L21_1 = 3021
L22_1 = 3022
L23_1 = 3023
L24_1 = 3030
L25_1 = 3031
L26_1 = 3032
L27_1 = 3033
L28_1 = 3034
L29_1 = 3035
L30_1 = 3036
L31_1 = 3037
L32_1 = 3043
L33_1 = 3044
L34_1 = 3045
L35_1 = 3046
L36_1 = 3047
L37_1 = 3048
L38_1 = 3049
L39_1 = 3050
L15_1[1] = L16_1
L15_1[2] = L17_1
L15_1[3] = L18_1
L15_1[4] = L19_1
L15_1[5] = L20_1
L15_1[6] = L21_1
L15_1[7] = L22_1
L15_1[8] = L23_1
L15_1[9] = L24_1
L15_1[10] = L25_1
L15_1[11] = L26_1
L15_1[12] = L27_1
L15_1[13] = L28_1
L15_1[14] = L29_1
L15_1[15] = L30_1
L15_1[16] = L31_1
L15_1[17] = L32_1
L15_1[18] = L33_1
L15_1[19] = L34_1
L15_1[20] = L35_1
L15_1[21] = L36_1
L15_1[22] = L37_1
L15_1[23] = L38_1
L15_1[24] = L39_1
L16_1 = 1
L17_1 = 3017
L18_1 = 3005
L19_1 = 3007
L20_1 = {}
L20_1.regionID = 3051
L20_1.groupID = 247003032
L21_1 = {}
L21_1.x = 319.907
L21_1.y = 3.629
L21_1.z = 409.988
L22_1 = {}
L23_1 = 180
L22_1[1] = L23_1
L23_1 = 4002208
L24_1 = {}
L24_1.x = 319.907
L24_1.y = 1.652
L24_1.z = 411.77
L25_1 = {}
L26_1 = 0
L25_1[1] = L26_1
L26_1 = 4002206
L27_1 = {}
monsters = L27_1
L27_1 = {}
npcs = L27_1
L27_1 = {}
L28_1 = {}
L28_1.config_id = 3001
L28_1.gadget_id = 70310122
L29_1 = {}
L29_1.x = 320.0
L29_1.y = -2.7
L29_1.z = 350.0
L28_1.pos = L29_1
L29_1 = {}
L29_1.x = 0.0
L29_1.y = 0.0
L29_1.z = 0.0
L28_1.rot = L29_1
L28_1.level = 1
L29_1 = {}
L29_1.config_id = 3002
L29_1.gadget_id = 70310125
L30_1 = {}
L30_1.x = 319.93
L30_1.y = -2.459
L30_1.z = 320.115
L29_1.pos = L30_1
L30_1 = {}
L30_1.x = 0.0
L30_1.y = 0.0
L30_1.z = 0.0
L29_1.rot = L30_1
L29_1.level = 1
L30_1 = GadgetState
L30_1 = L30_1.GearStart
L29_1.state = L30_1
L30_1 = {}
L30_1.config_id = 3003
L30_1.gadget_id = 70310125
L31_1 = {}
L31_1.x = 319.909
L31_1.y = 0.191
L31_1.z = 399.878
L30_1.pos = L31_1
L31_1 = {}
L31_1.x = 0.0
L31_1.y = 180.0
L31_1.z = 0.0
L30_1.rot = L31_1
L30_1.level = 1
L31_1 = {}
L31_1.config_id = 3004
L31_1.gadget_id = 70310125
L32_1 = {}
L32_1.x = 305.42
L32_1.y = -0.644
L32_1.z = 456.834
L31_1.pos = L32_1
L32_1 = {}
L32_1.x = 0.0
L32_1.y = 90.0
L32_1.z = 0.0
L31_1.rot = L32_1
L31_1.level = 1
L32_1 = {}
L32_1.config_id = 3005
L32_1.gadget_id = 70900201
L33_1 = {}
L33_1.x = 286.507
L33_1.y = -0.47
L33_1.z = 456.979
L32_1.pos = L33_1
L33_1 = {}
L33_1.x = 0.0
L33_1.y = 90.0
L33_1.z = 0.0
L32_1.rot = L33_1
L32_1.level = 1
L33_1 = {}
L33_1.config_id = 3006
L33_1.gadget_id = 70310108
L34_1 = {}
L34_1.x = 287.829
L34_1.y = 1.532
L34_1.z = 456.979
L33_1.pos = L34_1
L34_1 = {}
L34_1.x = 0.0
L34_1.y = 90.0
L34_1.z = 0.0
L33_1.rot = L34_1
L33_1.level = 1
L34_1 = {}
L34_1.config_id = 3014
L34_1.gadget_id = 70360285
L35_1 = {}
L35_1.x = 318.78
L35_1.y = 0.098
L35_1.z = 273.005
L34_1.pos = L35_1
L35_1 = {}
L35_1.x = 0.0
L35_1.y = 0.688
L35_1.z = 0.0
L34_1.rot = L35_1
L34_1.level = 1
L35_1 = {}
L35_1.config_id = 3015
L35_1.gadget_id = 70360285
L36_1 = {}
L36_1.x = 321.09
L36_1.y = 0.098
L36_1.z = 272.977
L35_1.pos = L36_1
L36_1 = {}
L36_1.x = 0.0
L36_1.y = 0.688
L36_1.z = 0.0
L35_1.rot = L36_1
L35_1.level = 1
L36_1 = {}
L36_1.config_id = 3016
L36_1.gadget_id = 70310125
L37_1 = {}
L37_1.x = 320.001
L37_1.y = 0.095
L37_1.z = 440.178
L36_1.pos = L37_1
L37_1 = {}
L37_1.x = 0.0
L37_1.y = 0.0
L37_1.z = 0.0
L36_1.rot = L37_1
L36_1.level = 1
L37_1 = {}
L37_1.config_id = 3017
L37_1.gadget_id = 70310151
L38_1 = {}
L38_1.x = 319.903
L38_1.y = -2.7
L38_1.z = 350.009
L37_1.pos = L38_1
L38_1 = {}
L38_1.x = 0.0
L38_1.y = 0.0
L38_1.z = 0.0
L37_1.rot = L38_1
L37_1.level = 1
L38_1 = {}
L38_1.config_id = 3018
L38_1.gadget_id = 70360285
L39_1 = {}
L39_1.x = 192.957
L39_1.y = 0.098
L39_1.z = 1.168
L38_1.pos = L39_1
L39_1 = {}
L39_1.x = 0.0
L39_1.y = 90.0
L39_1.z = 0.0
L38_1.rot = L39_1
L38_1.level = 1
L39_1 = {}
L39_1.config_id = 3019
L39_1.gadget_id = 70360285
L40_1 = {}
L40_1.x = 192.957
L40_1.y = 0.098
L40_1.z = -1.142
L39_1.pos = L40_1
L40_1 = {}
L40_1.x = 0.0
L40_1.y = 90.0
L40_1.z = 0.0
L39_1.rot = L40_1
L39_1.level = 1
L40_1 = {}
L40_1.config_id = 3020
L40_1.gadget_id = 70360285
L41_1 = {}
L41_1.x = 202.262
L41_1.y = 0.098
L41_1.z = 1.168
L40_1.pos = L41_1
L41_1 = {}
L41_1.x = 0.0
L41_1.y = 90.0
L41_1.z = 0.0
L40_1.rot = L41_1
L40_1.level = 1
L41_1 = {}
L41_1.config_id = 3021
L41_1.gadget_id = 70360285
L42_1 = {}
L42_1.x = 202.262
L42_1.y = 0.098
L42_1.z = -1.142
L41_1.pos = L42_1
L42_1 = {}
L42_1.x = 0.0
L42_1.y = 90.0
L42_1.z = 0.0
L41_1.rot = L42_1
L41_1.level = 1
L42_1 = {}
L42_1.config_id = 3022
L42_1.gadget_id = 70360285
L43_1 = {}
L43_1.x = 211.679
L43_1.y = 0.098
L43_1.z = 1.168
L42_1.pos = L43_1
L43_1 = {}
L43_1.x = 0.0
L43_1.y = 90.0
L43_1.z = 0.0
L42_1.rot = L43_1
L42_1.level = 1
L43_1 = {}
L43_1.config_id = 3023
L43_1.gadget_id = 70360285
L44_1 = {}
L44_1.x = 211.679
L44_1.y = 0.098
L44_1.z = -1.142
L43_1.pos = L44_1
L44_1 = {}
L44_1.x = 0.0
L44_1.y = 90.0
L44_1.z = 0.0
L43_1.rot = L44_1
L43_1.level = 1
L44_1 = {}
L44_1.config_id = 3030
L44_1.gadget_id = 70360285
L45_1 = {}
L45_1.x = 318.892
L45_1.y = 0.098
L45_1.z = 282.309
L44_1.pos = L45_1
L45_1 = {}
L45_1.x = 0.0
L45_1.y = 0.688
L45_1.z = 0.0
L44_1.rot = L45_1
L44_1.level = 1
L45_1 = {}
L45_1.config_id = 3031
L45_1.gadget_id = 70360285
L46_1 = {}
L46_1.x = 321.202
L46_1.y = 0.098
L46_1.z = 282.282
L45_1.pos = L46_1
L46_1 = {}
L46_1.x = 0.0
L46_1.y = 0.688
L46_1.z = 0.0
L45_1.rot = L46_1
L45_1.level = 1
L46_1 = {}
L46_1.config_id = 3032
L46_1.gadget_id = 70360285
L47_1 = {}
L47_1.x = 319.005
L47_1.y = 0.098
L47_1.z = 291.726
L46_1.pos = L47_1
L47_1 = {}
L47_1.x = 0.0
L47_1.y = 0.688
L47_1.z = 0.0
L46_1.rot = L47_1
L46_1.level = 1
L47_1 = {}
L47_1.config_id = 3033
L47_1.gadget_id = 70360285
L48_1 = {}
L48_1.x = 321.315
L48_1.y = 0.098
L48_1.z = 291.698
L47_1.pos = L48_1
L48_1 = {}
L48_1.x = 0.0
L48_1.y = 0.688
L48_1.z = 0.0
L47_1.rot = L48_1
L47_1.level = 1
L48_1 = {}
L48_1.config_id = 3034
L48_1.gadget_id = 70360285
L49_1 = {}
L49_1.x = 319.005
L49_1.y = 0.098
L49_1.z = 303.949
L48_1.pos = L49_1
L49_1 = {}
L49_1.x = 0.0
L49_1.y = 0.688
L49_1.z = 0.0
L48_1.rot = L49_1
L48_1.level = 1
L49_1 = {}
L49_1.config_id = 3035
L49_1.gadget_id = 70360285
L50_1 = {}
L50_1.x = 321.315
L50_1.y = 0.098
L50_1.z = 303.921
L49_1.pos = L50_1
L50_1 = {}
L50_1.x = 0.0
L50_1.y = 0.688
L50_1.z = 0.0
L49_1.rot = L50_1
L49_1.level = 1
L50_1 = {}
L50_1.config_id = 3036
L50_1.gadget_id = 70360285
L51_1 = {}
L51_1.x = 319.005
L51_1.y = -2.661
L51_1.z = 317.14
L50_1.pos = L51_1
L51_1 = {}
L51_1.x = 0.0
L51_1.y = 0.688
L51_1.z = 0.0
L50_1.rot = L51_1
L50_1.level = 1
L51_1 = {}
L51_1.config_id = 3037
L51_1.gadget_id = 70360285
L52_1 = {}
L52_1.x = 321.315
L52_1.y = -2.661
L52_1.z = 317.113
L51_1.pos = L52_1
L52_1 = {}
L52_1.x = 0.0
L52_1.y = 0.688
L52_1.z = 0.0
L51_1.rot = L52_1
L51_1.level = 1
L52_1 = {}
L52_1.config_id = 3038
L52_1.gadget_id = 70310149
L53_1 = {}
L53_1.x = 315.195
L53_1.y = -0.779
L53_1.z = 472.199
L52_1.pos = L53_1
L53_1 = {}
L53_1.x = 0.0
L53_1.y = 180.0
L53_1.z = 0.0
L52_1.rot = L53_1
L52_1.level = 1
L53_1 = {}
L53_1.config_id = 3039
L53_1.gadget_id = 70310150
L54_1 = {}
L54_1.x = 315.195
L54_1.y = -0.779
L54_1.z = 472.199
L53_1.pos = L54_1
L54_1 = {}
L54_1.x = 0.0
L54_1.y = 180.0
L54_1.z = 0.0
L53_1.rot = L54_1
L53_1.level = 1
L54_1 = {}
L54_1.config_id = 3043
L54_1.gadget_id = 70360285
L55_1 = {}
L55_1.x = 51.651
L55_1.y = 0.14
L55_1.z = -1.052
L54_1.pos = L55_1
L55_1 = {}
L55_1.x = 0.0
L55_1.y = 90.0
L55_1.z = 0.0
L54_1.rot = L55_1
L54_1.level = 1
L55_1 = {}
L55_1.config_id = 3044
L55_1.gadget_id = 70360285
L56_1 = {}
L56_1.x = 51.651
L56_1.y = 0.14
L56_1.z = 1.243
L55_1.pos = L56_1
L56_1 = {}
L56_1.x = 0.0
L56_1.y = 90.0
L56_1.z = 0.0
L55_1.rot = L56_1
L55_1.level = 1
L56_1 = {}
L56_1.config_id = 3045
L56_1.gadget_id = 70360285
L57_1 = {}
L57_1.x = 46.321
L57_1.y = 0.14
L57_1.z = -1.052
L56_1.pos = L57_1
L57_1 = {}
L57_1.x = 0.0
L57_1.y = 90.0
L57_1.z = 0.0
L56_1.rot = L57_1
L56_1.level = 1
L57_1 = {}
L57_1.config_id = 3046
L57_1.gadget_id = 70360285
L58_1 = {}
L58_1.x = 46.321
L58_1.y = 0.14
L58_1.z = 1.243
L57_1.pos = L58_1
L58_1 = {}
L58_1.x = 0.0
L58_1.y = 90.0
L58_1.z = 0.0
L57_1.rot = L58_1
L57_1.level = 1
L58_1 = {}
L58_1.config_id = 3047
L58_1.gadget_id = 70360285
L59_1 = {}
L59_1.x = 33.777
L59_1.y = 0.14
L59_1.z = -1.052
L58_1.pos = L59_1
L59_1 = {}
L59_1.x = 0.0
L59_1.y = 90.0
L59_1.z = 0.0
L58_1.rot = L59_1
L58_1.level = 1
L59_1 = {}
L59_1.config_id = 3048
L59_1.gadget_id = 70360285
L60_1 = {}
L60_1.x = 33.777
L60_1.y = 0.14
L60_1.z = 1.243
L59_1.pos = L60_1
L60_1 = {}
L60_1.x = 0.0
L60_1.y = 90.0
L60_1.z = 0.0
L59_1.rot = L60_1
L59_1.level = 1
L60_1 = {}
L60_1.config_id = 3049
L60_1.gadget_id = 70360285
L61_1 = {}
L61_1.x = 28.447
L61_1.y = 0.14
L61_1.z = -1.052
L60_1.pos = L61_1
L61_1 = {}
L61_1.x = 0.0
L61_1.y = 90.0
L61_1.z = 0.0
L60_1.rot = L61_1
L60_1.level = 1
L61_1 = {}
L61_1.config_id = 3050
L61_1.gadget_id = 70360285
L62_1 = {}
L62_1.x = 28.447
L62_1.y = 0.14
L62_1.z = 1.243
L61_1.pos = L62_1
L62_1 = {}
L62_1.x = 0.0
L62_1.y = 90.0
L62_1.z = 0.0
L61_1.rot = L62_1
L61_1.level = 1
L27_1[1] = L28_1
L27_1[2] = L29_1
L27_1[3] = L30_1
L27_1[4] = L31_1
L27_1[5] = L32_1
L27_1[6] = L33_1
L27_1[7] = L34_1
L27_1[8] = L35_1
L27_1[9] = L36_1
L27_1[10] = L37_1
L27_1[11] = L38_1
L27_1[12] = L39_1
L27_1[13] = L40_1
L27_1[14] = L41_1
L27_1[15] = L42_1
L27_1[16] = L43_1
L27_1[17] = L44_1
L27_1[18] = L45_1
L27_1[19] = L46_1
L27_1[20] = L47_1
L27_1[21] = L48_1
L27_1[22] = L49_1
L27_1[23] = L50_1
L27_1[24] = L51_1
L27_1[25] = L52_1
L27_1[26] = L53_1
L27_1[27] = L54_1
L27_1[28] = L55_1
L27_1[29] = L56_1
L27_1[30] = L57_1
L27_1[31] = L58_1
L27_1[32] = L59_1
L27_1[33] = L60_1
L27_1[34] = L61_1
gadgets = L27_1
L27_1 = {}
L28_1 = {}
L28_1.config_id = 3007
L29_1 = RegionShape
L29_1 = L29_1.CUBIC
L28_1.shape = L29_1
L29_1 = {}
L29_1.x = 80.0
L29_1.y = 40.0
L29_1.z = 70.0
L28_1.size = L29_1
L29_1 = {}
L29_1.x = 319.767
L29_1.y = -2.7
L29_1.z = 349.774
L28_1.pos = L29_1
L29_1 = {}
L29_1.config_id = 3008
L30_1 = RegionShape
L30_1 = L30_1.CUBIC
L29_1.shape = L30_1
L30_1 = {}
L30_1.x = 10.0
L30_1.y = 10.0
L30_1.z = 10.0
L29_1.size = L30_1
L30_1 = {}
L30_1.x = 319.907
L30_1.y = 4.303
L30_1.z = 434.164
L29_1.pos = L30_1
L30_1 = {}
L30_1.config_id = 3042
L31_1 = RegionShape
L31_1 = L31_1.CUBIC
L30_1.shape = L31_1
L31_1 = {}
L31_1.x = 10.0
L31_1.y = 10.0
L31_1.z = 10.0
L30_1.size = L31_1
L31_1 = {}
L31_1.x = 320.228
L31_1.y = 2.955
L31_1.z = 445.781
L30_1.pos = L31_1
L31_1 = {}
L31_1.config_id = 3051
L32_1 = RegionShape
L32_1 = L32_1.CUBIC
L31_1.shape = L32_1
L32_1 = {}
L32_1.x = 60.0
L32_1.y = 20.0
L32_1.z = 40.0
L31_1.size = L32_1
L32_1 = {}
L32_1.x = 307.963
L32_1.y = -0.992
L32_1.z = 456.961
L31_1.pos = L32_1
L27_1[1] = L28_1
L27_1[2] = L29_1
L27_1[3] = L30_1
L27_1[4] = L31_1
regions = L27_1
L27_1 = {}
L28_1 = {}
L28_1.config_id = 1003007
L28_1.name = "ENTER_REGION_3007"
L29_1 = EventType
L29_1 = L29_1.EVENT_ENTER_REGION
L28_1.event = L29_1
L28_1.source = ""
L28_1.condition = ""
L28_1.action = ""
L29_1 = {}
L29_1.config_id = 1003008
L29_1.name = "ENTER_REGION_3008"
L30_1 = EventType
L30_1 = L30_1.EVENT_ENTER_REGION
L29_1.event = L30_1
L29_1.source = ""
L29_1.condition = ""
L29_1.action = ""
L30_1 = {}
L30_1.config_id = 1003040
L30_1.name = "QUEST_START_3040"
L31_1 = EventType
L31_1 = L31_1.EVENT_QUEST_START
L30_1.event = L31_1
L30_1.source = "4002206"
L30_1.condition = ""
L30_1.action = "action_EVENT_QUEST_START_3040"
L31_1 = {}
L31_1.config_id = 1003041
L31_1.name = "TIMER_EVENT_3041"
L32_1 = EventType
L32_1 = L32_1.EVENT_TIMER_EVENT
L31_1.event = L32_1
L31_1.source = "timer1"
L31_1.condition = ""
L31_1.action = "action_EVENT_TIMER_EVENT_3041"
L32_1 = {}
L32_1.config_id = 1003042
L32_1.name = "ENTER_REGION_3042"
L33_1 = EventType
L33_1 = L33_1.EVENT_ENTER_REGION
L32_1.event = L33_1
L32_1.source = ""
L32_1.condition = "condition_EVENT_ENTER_REGION_3042"
L32_1.action = "action_EVENT_ENTER_REGION_3042"
L27_1[1] = L28_1
L27_1[2] = L29_1
L27_1[3] = L30_1
L27_1[4] = L31_1
L27_1[5] = L32_1
triggers = L27_1
L27_1 = {}
L28_1 = {}
L28_1.config_id = 3009
L29_1 = {}
L29_1.x = 325.502
L29_1.y = -2.68
L29_1.z = 360.789
L28_1.pos = L29_1
L29_1 = {}
L29_1.x = 0.0
L29_1.y = 180.0
L29_1.z = 0.0
L28_1.rot = L29_1
L28_1.tag = 1
L29_1 = {}
L29_1.config_id = 3010
L30_1 = {}
L30_1.x = 314.494
L30_1.y = -2.7
L30_1.z = 361.015
L29_1.pos = L30_1
L30_1 = {}
L30_1.x = 0.0
L30_1.y = 180.0
L30_1.z = 0.0
L29_1.rot = L30_1
L29_1.tag = 1
L30_1 = {}
L30_1.config_id = 3011
L31_1 = {}
L31_1.x = 317.186
L31_1.y = -2.7
L31_1.z = 359.078
L30_1.pos = L31_1
L31_1 = {}
L31_1.x = 0.0
L31_1.y = 180.0
L31_1.z = 0.0
L30_1.rot = L31_1
L30_1.tag = 1
L31_1 = {}
L31_1.config_id = 3012
L32_1 = {}
L32_1.x = 322.975
L32_1.y = -2.7
L32_1.z = 358.961
L31_1.pos = L32_1
L32_1 = {}
L32_1.x = 0.0
L32_1.y = 180.0
L32_1.z = 0.0
L31_1.rot = L32_1
L31_1.tag = 1
L32_1 = {}
L32_1.config_id = 3013
L33_1 = {}
L33_1.x = 320.013
L33_1.y = -2.7
L33_1.z = 358.877
L32_1.pos = L33_1
L33_1 = {}
L33_1.x = 0.0
L33_1.y = 180.0
L33_1.z = 0.0
L32_1.rot = L33_1
L32_1.tag = 1
L27_1[1] = L28_1
L27_1[2] = L29_1
L27_1[3] = L30_1
L27_1[4] = L31_1
L27_1[5] = L32_1
points = L27_1
L27_1 = {}
variables = L27_1
L27_1 = {}
L27_1.suite = 1
L27_1.end_suite = 0
L27_1.rand_suite = false
init_config = L27_1
L27_1 = {}
L28_1 = {}
L29_1 = {}
L28_1.monsters = L29_1
L29_1 = {}
L30_1 = 3001
L31_1 = 3002
L32_1 = 3003
L33_1 = 3004
L34_1 = 3014
L35_1 = 3015
L36_1 = 3016
L37_1 = 3018
L38_1 = 3019
L39_1 = 3020
L40_1 = 3021
L41_1 = 3022
L42_1 = 3023
L43_1 = 3030
L44_1 = 3031
L45_1 = 3032
L46_1 = 3033
L47_1 = 3034
L48_1 = 3035
L49_1 = 3036
L50_1 = 3037
L51_1 = 3038
L52_1 = 3043
L53_1 = 3044
L54_1 = 3045
L55_1 = 3046
L56_1 = 3047
L57_1 = 3048
L58_1 = 3049
L59_1 = 3050
L29_1[1] = L30_1
L29_1[2] = L31_1
L29_1[3] = L32_1
L29_1[4] = L33_1
L29_1[5] = L34_1
L29_1[6] = L35_1
L29_1[7] = L36_1
L29_1[8] = L37_1
L29_1[9] = L38_1
L29_1[10] = L39_1
L29_1[11] = L40_1
L29_1[12] = L41_1
L29_1[13] = L42_1
L29_1[14] = L43_1
L29_1[15] = L44_1
L29_1[16] = L45_1
L29_1[17] = L46_1
L29_1[18] = L47_1
L29_1[19] = L48_1
L29_1[20] = L49_1
L29_1[21] = L50_1
L29_1[22] = L51_1
L29_1[23] = L52_1
L29_1[24] = L53_1
L29_1[25] = L54_1
L29_1[26] = L55_1
L29_1[27] = L56_1
L29_1[28] = L57_1
L29_1[29] = L58_1
L29_1[30] = L59_1
L28_1.gadgets = L29_1
L29_1 = {}
L30_1 = 3007
L31_1 = 3008
L32_1 = 3042
L33_1 = 3051
L29_1[1] = L30_1
L29_1[2] = L31_1
L29_1[3] = L32_1
L29_1[4] = L33_1
L28_1.regions = L29_1
L29_1 = {}
L30_1 = "ENTER_REGION_3007"
L31_1 = "ENTER_REGION_3008"
L32_1 = "QUEST_START_3040"
L33_1 = "TIMER_EVENT_3041"
L34_1 = "ENTER_REGION_3042"
L29_1[1] = L30_1
L29_1[2] = L31_1
L29_1[3] = L32_1
L29_1[4] = L33_1
L29_1[5] = L34_1
L28_1.triggers = L29_1
L28_1.rand_weight = 100
L29_1 = {}
L30_1 = {}
L29_1.monsters = L30_1
L30_1 = {}
L31_1 = 3005
L32_1 = 3006
L33_1 = 3017
L30_1[1] = L31_1
L30_1[2] = L32_1
L30_1[3] = L33_1
L29_1.gadgets = L30_1
L30_1 = {}
L29_1.regions = L30_1
L30_1 = {}
L29_1.triggers = L30_1
L29_1.rand_weight = 100
L27_1[1] = L28_1
L27_1[2] = L29_1
suites = L27_1
function L27_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2, L5_2, L6_2
  L2_2 = ScriptLib
  L2_2 = L2_2.CreateGroupTimerEvent
  L3_2 = A0_2
  L4_2 = 247003003
  L5_2 = "timer1"
  L6_2 = 2
  L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : create_timerevent_by_group"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = 0
  return L2_2
end
action_EVENT_QUEST_START_3040 = L27_1
function L27_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2, L5_2, L6_2
  L2_2 = ScriptLib
  L2_2 = L2_2.RemoveEntityByConfigId
  L3_2 = A0_2
  L4_2 = 247003003
  L5_2 = EntityType
  L5_2 = L5_2.GADGET
  L6_2 = 3038
  L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : remove_gadget_by_configid"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.CreateGadget
  L3_2 = A0_2
  L4_2 = {}
  L4_2.config_id = 3039
  L2_2 = L2_2(L3_2, L4_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : create_gadget"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = 0
  return L2_2
end
action_EVENT_TIMER_EVENT_3041 = L27_1
function L27_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2, L5_2
  L2_2 = A1_2.param1
  if L2_2 ~= 3042 then
    L2_2 = false
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.GetRegionEntityCount
  L3_2 = A0_2
  L4_2 = {}
  L5_2 = A1_2.source_eid
  L4_2.region_eid = L5_2
  L5_2 = EntityType
  L5_2 = L5_2.AVATAR
  L4_2.entity_type = L5_2
  L2_2 = L2_2(L3_2, L4_2)
  if L2_2 < 1 then
    L2_2 = false
    return L2_2
  end
  L2_2 = true
  return L2_2
end
condition_EVENT_ENTER_REGION_3042 = L27_1
function L27_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2, L5_2
  L2_2 = ScriptLib
  L2_2 = L2_2.SetWeatherAreaState
  L3_2 = A0_2
  L4_2 = 10064
  L5_2 = 1
  L2_2(L3_2, L4_2, L5_2)
  L2_2 = ScriptLib
  L2_2 = L2_2.EnterWeatherArea
  L3_2 = A0_2
  L4_2 = 10064
  L2_2 = L2_2(L3_2, L4_2)
  if 0 ~= L2_2 then
    L2_2 = -1
    return L2_2
  end
  L2_2 = 0
  return L2_2
end
action_EVENT_ENTER_REGION_3042 = L27_1
L27_1 = require
L28_1 = "V2_2/RogueDungeon_BOSS"
L27_1(L28_1)
